package com.wwj.dubboZookeeper.controller;

import com.wwj.dubboZookeeper.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {

    @Autowired
    private UserService userServiceImpl;

    // localhost:8002/getTicket
    @RequestMapping("/getTicket")
    public String getTicket() {
        return userServiceImpl.getTicket();
    }

}
